package com.xc.freeapp.dao;

import java.util.List;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.xc.freeapp.entity.UserNotification;

public interface UserNotificationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserNotification record);

    int insertSelective(UserNotification record);

    UserNotification selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserNotification record);

    int updateByPrimaryKey(UserNotification record);
    
    List<UserNotification> selectByUserId(Integer userId,PageBounds pageBounds);
    
    int updateIsRead(Integer id);
}